"""
URL configuration for the users application.

This file contains the URL patterns specific to the users app.
"""

from django.urls import path
from. import views

urlpatterns = [
    path('register/', views.register, name='register'),  # 用户注册路由，指向 views.py 中的 register 视图函数，并命名为'register'
    path('login/', views.user_login, name='login'),  # 用户登录路由
    path('logout/', views.user_logout, name='logout'),  # 用户登出路由
    path('edit_profile/', views.edit_profile, name='edit_profile'),  # 用户编辑个人信息路由
]